#include "plugindialog.h"
#include "ui_plugindialog.h"

#include "core/core.h"

PluginDialog::PluginDialog(QWidget *parent)
    : QDialog(parent), ui(new Ui::PluginDialog) {
  ui->setupUi(this);

  // table view
  ui->tableView->horizontalHeader()->setDefaultAlignment(Qt::AlignLeft);
  ui->tableView->setModel(core()->getPluginModel());
}

PluginDialog::~PluginDialog() { delete ui; }
